class RichRemind
{
	String currPrice;
	String title;
	String content;
	Date createDate = new Date();
	Date lastUpdateDate = new Date();
	String flag;  //以股票代码来标识
	Integer ordernum = 500;
	
	static constraints = 
	{
		currPrice(blank:false, maxSize:10)
		title(blank:false, maxSize:100)
		content(blank:false, maxSize:10000)
		flag(blank:false, maxSize:30)
	}
}